@import url('https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,200..1000;1,200..1000&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* --- ROLAGEM SUAVE --- */
html {
    scroll-behavior: smooth;
}

/* --- PALETA DE CORES --- */
:root {
    --primary-color: #0A830E; /* Verde escuro principal */
    --primary-color-darker: #07620A; /* Verde mais escuro para hover */
    
    --secondary-color: #3CD3CC; /* Turquesa para acentos e botões */
    --secondary-color-darker: #31b3ad; /* Turquesa mais escuro para hover */

    --light-bg-color: #f0f9f0; /* Um verde bem claro para fundos de seção */
    --dark-gray: #333;
    --text-color: #555;
    
    --footer-bg-color: #011C2B; /* Azul marinho escuro e sofisticado */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Mulish', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- CABEÇALHO --- */
.main-header {
    background: white;
    border-bottom: 1px solid #ddd;
    transition: all 0.3s ease;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top-full {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    border-bottom: 1px solid #eee;
    width: 100%;
    position: relative;
    height: 81px; /* Altura fixa para referência */
}

.logo img {
    max-height: 50px;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2em;
    color: var(--dark-gray);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.header-contact .fa-whatsapp {
    font-size: 1.8em;
    color: #25D366;
}

.header-bottom-full {
    display: flex;
    justify-content: center;
    width: 100%;
}

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu > li {
    display: flex;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 15px;
    position: relative;
}

.nav-menu > li > a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9em;
}

.nav-menu > li::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease-in-out;
}

.nav-menu > li:hover::after,
.nav-menu > li.active::after,
li.has-dropdown:has(a.active)::after {
    width: 100%;
}

.btn-header-cta {
    background-color: var(--secondary-color);
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    white-space: nowrap;
    text-transform: uppercase;
}

.btn-header-cta:hover {
    background-color: var(--secondary-color-darker);
}

/* --- SUBMENU DESKTOP (DESIGN APRIMORADO) --- */
.header-bottom-full .has-dropdown {
    position: relative;
}

.header-bottom-full .submenu {
    display: block;
    position: absolute;
    top: 95%; /* Ajuste inicial para a transição */
    left: 50%;
    transform: translateX(-50%);
    background-color: white; /* Fundo branco para um visual mais clean */
    list-style: none;
    padding: 10px 0; /* Espaçamento vertical */
    border-radius: 8px; /* Bordas levemente arredondadas */
    min-width: 200px; /* Largura mínima para os itens */
    z-index: 100;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* Sombra mais suave e moderna */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, top 0.3s ease, visibility 0.3s ease; /* Transições mais suaves */
    border-top: 3px solid var(--secondary-color); /* Linha superior colorida */
}

.header-bottom-full .submenu a {
    color: var(--dark-gray); /* Cor do texto mais escura */
    padding: 12px 20px; /* Mais padding para os itens */
    font-weight: 500; /* Um pouco mais encorpado */
    white-space: nowrap;
    display: block;
    width: 100%;
    text-transform: none; /* Sem uppercase */
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease; /* Transição para o hover */
    font-size: 0.95em;
}

.header-bottom-full .submenu a:hover {
    background-color: var(--light-bg-color); /* Fundo verde claro no hover */
    color: var(--primary-color); /* Texto verde principal no hover */
    /* Remove as bordas arredondadas no hover se desejar bordas retas nos itens */
    border-radius: 0; 
}

/* Estado de hover do item pai para mostrar o submenu */
.header-bottom-full .has-dropdown:hover > .submenu {
    opacity: 1;
    visibility: visible;
    top: 100%; /* Desce para a posição final */
}


/* =========================================================================
   MENU MOBILE (DESIGN APRIMORADO E PROFISSIONAL)
========================================================================= */

/* --- Botão Hambúrguer (com animação para "X") --- */
.hamburger-menu {
    display: none;
    width: 40px;
    height: 40px;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}
.hamburger-box {
    width: 30px;
    height: 24px;
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
    width: 30px;
    height: 3px;
    background-color: var(--dark-gray);
    border-radius: 4px;
    position: absolute;
    transition: transform 0.25s ease-in-out, top 0.25s ease-in-out, bottom 0.25s ease-in-out;
}
.hamburger-inner { top: 50%; transform: translateY(-50%); }
.hamburger-inner::before, .hamburger-inner::after { content: ''; }
.hamburger-inner::before { top: -10px; }
.hamburger-inner::after { bottom: -10px; }
.hamburger-menu.is-active .hamburger-inner { transform: rotate(45deg); }
.hamburger-menu.is-active .hamburger-inner::before { top: 0; transform: rotate(90deg); }
.hamburger-menu.is-active .hamburger-inner::after { bottom: 0; transform: rotate(90deg); }

/* --- Container do Menu Mobile --- */
.header-bottom-full-mobile {
    position: fixed;
    top: 81px; /* Começa ABAIXO do cabeçalho */
    left: 0;
    width: 90%;
    max-width: 320px;
    height: calc(100vh - 81px); /* Ocupa o resto da altura da tela */
    background-color: #ffffff;
    border-right: 1px solid #e0e0e0;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 999;
    overflow-y: auto; /* Adiciona barra de rolagem quando necessário */
    transform: translateX(-100%); /* Posição inicial fora da tela */
}
.header-bottom-full-mobile.active {
    transform: translateX(0); /* Posição final na tela */
}

/* --- Itens e Links do Menu Mobile --- */
#mobile-menu-container .nav-menu-mobile {
    list-style: none; padding: 10px 0; margin: 0; display: flex; flex-direction: column;
}
#mobile-menu-container .nav-menu-mobile li a {
    display: flex; align-items: center; gap: 15px; padding: 18px 25px; color: var(--dark-gray); text-decoration: none; border-bottom: 1px solid #f0f0f0; font-size: 1.1em; font-weight: 500; transition: background-color 0.3s ease, color 0.3s ease;
}
#mobile-menu-container .nav-menu-mobile li a:hover { background-color: var(--light-bg-color); color: var(--primary-color); }
#mobile-menu-container .nav-menu-mobile li a i { width: 20px; text-align: center; color: var(--primary-color); }

/* --- Submenu Mobile --- */
#mobile-menu-container .has-dropdown-mobile .submenu-mobile {
    display: none; list-style: none; padding-left: 0; background-color: #f7f7f7;
}
#mobile-menu-container .has-dropdown-mobile .submenu-mobile a {
    padding-left: 60px; font-size: 1em; font-weight: 400; color: var(--text-color);
}
#mobile-menu-container .has-dropdown-mobile.open .submenu-mobile { display: block; }
#mobile-menu-container .has-dropdown-mobile > a::after {
    content: '▼'; font-size: 0.7em; margin-left: auto; padding-left: 15px; color: var(--secondary-color); transition: transform 0.3s ease;
}
#mobile-menu-container .has-dropdown-mobile.open > a::after { transform: rotate(180deg); }

/* --- Overlay que escurece a página --- */
#page-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); z-index: 998; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease;
}
#page-overlay.active { opacity: 1; visibility: visible; }


/* --- MEDIA QUERIES PARA RESPONSIVIDADE --- */
@media (max-width: 1200px) {
    .header-contact { display: none; }
}
@media (max-width: 992px) {
    .header-bottom-full, .btn-header-cta { display: none; }
    .hamburger-menu { display: block; }
}

/* --- RODAPÉ (código existente) --- */
.main-footer {
    background-color: var(--secondary-color-darker); color: #ffffff; padding-top: 60px; font-size: 0.95em;
}
.footer-main {
    display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-column .footer-logo { max-width: 180px; margin-bottom: 15px; }
.footer-column .footer-tagline { line-height: 1.7; margin-bottom: 20px; }
.footer-column h4 { color: white; font-family: 'Poppins', sans-serif; font-size: 1.2em; margin-bottom: 20px; font-weight: 600; }
.footer-column.links ul { list-style: none; }
.footer-column.links ul li { margin-bottom: 10px; }
.footer-column.links ul a { color: #ffffff; text-decoration: none; transition: all 0.3s ease; }
.footer-column.links ul a:hover { color: var(--secondary-color); padding-left: 5px; }
.footer-column.contact p { margin-bottom: 15px; display: flex; align-items: flex-start; }
.footer-column.contact i { color: var(--primary-color); margin-right: 12px; margin-top: 5px; }
.social-icons a { display: inline-flex; justify-content: center; align-items: center; width: 40px; height: 40px; color: #ffffff; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 50%; margin-right: 10px; font-size: 1.1em; text-decoration: none; transition: all 0.3s ease; }
.social-icons a:hover { background-color: white; border-color: white; color: var(--primary-color); transform: translateY(-2px); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; padding: 20px 0; font-size: 0.9em; }
.footer-bottom .fa-heart { color: var(--primary-color); }

@media (max-width: 992px) {
    .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .footer-main { grid-template-columns: 1fr; text-align: center; }
    .footer-column .footer-logo { margin-left: auto; margin-right: auto; }
    .social-icons { margin-bottom: 30px; }
    .footer-column.contact p { justify-content: center; }
    .footer-bottom { flex-direction: column; gap: 10px; }
}